// import Vue from 'vue'
// import Vuex from 'vuex'
 
// Vue.use(Vuex)
import { createStore } from 'vuex';
 

const store = createStore({
  state: {
    count: 0,
		baseImgUrl: 'https://buma-1307931616.cos.ap-guangzhou.myqcloud.com/xian/'
  },
  mutations: {
    increment(state) {
      state.count++
    }
  },
  actions: {
    increment({ commit }) {
      commit('increment')
    }
  }
})
 
export default store